import React from 'react';
import "./App.css"
import { NavLink, Route } from 'react-router-dom';
import Home from './pages/Home';
//创建根组件 App
export default class App extends React.Component {
    render() {
        return (<div className="container">
            <ul className="header">
                <li><NavLink to="/home">音乐馆</NavLink></li>
                <li><NavLink to="/mine">我的音乐</NavLink></li>
                <li><NavLink to="/client">客户端</NavLink></li>
            </ul>
            <div style={{clear:'both'}}></div>

            <Route path="/home" component={Home} />

        </div>);
    }
}



